package Day7;

public class Soo {

    private double x;
    private double y;

    public static void staticMethod(){
        System.out.println("show()");
    }

    double sub(double x, double y){
        this.x = x;
        this.y = y;
        return x-y;
    }

    //必须使用private进行修饰： private修饰的方法为接口内部的工具方法
    private void privateMethod(){
        System.out.println("privateMethod()");
    }
}
